package com.gzhryc.shared_device.oem.code.config;

import com.gzhryc.common.NumberTools;

public class BusinessConfig {

    protected Double serviceChargeRatio = 2.0;      //服务费比例

    protected Long reservedFund = 1000000L;    //预留金
    
    protected Boolean canVirtualMoney = false;		//是否启用积分

    public Double getServiceChargeRatio() {
        return serviceChargeRatio;
    }

    public void setServiceChargeRatio(Double serviceChargeRatio) {
        this.serviceChargeRatio = serviceChargeRatio;
    }

    public Long getReservedFund() {
        return reservedFund;
    }

    public void setReservedFund(Long reservedFund) {
        this.reservedFund = reservedFund;
    }
    
    public String getReservedFundStr() {
    	return NumberTools.getMoneyLiStr(this.reservedFund);
    }

	public Boolean getCanVirtualMoney() {
		return canVirtualMoney;
	}

	public void setCanVirtualMoney(Boolean canVirtualMoney) {
		this.canVirtualMoney = canVirtualMoney;
	}
}
